package Code.Objects.Characters.Enemies.Weapons.Ranged;

import Code.Objects.Characters.Enemies.Basic.RangedCharacter;
import Code.Objects.Characters.Player.Weapons.WeaponSoundPlayer;
import Code.Objects.Effects.Projectiles.Player.Short.ShotgunBullet;

public class SimpleWeapon extends EnemyWeapon 
{
	public SimpleWeapon(RangedCharacter RC)
	{
		super(RC);
	}
	
	public void fire()
	{
		WeaponSoundPlayer.playShotgunSound(1f, 0);
		for(int i = 0; i < 15; i++)
		{
			owner.getWorld().addEffect(new ShotgunBullet(owner.location(), owner.rotation().angle(), 50), "Effects B");
		}
	}
	
}
